home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / msdos / raytrace / pov / gen / aatexe / simple.pov < prev    next >
Text File  |  1993-07-15  |  616b  |  33 lines

  1. #include "colors.inc"  // The include files contain
  2. #include "shapes.inc"  // pre-defined scene elements
  3. #include "textures.inc"
  4.  
  5. camera {
  6.   location  <0 2 -6>
  7.   direction <0 0 1.5>
  8.   up        <0 1 0>
  9.   right     <1.33 0 0>
  10.   look_at   <0 1 2>
  11. }
  12.  
  13.  
  14. object {
  15.   sphere { <0 $radius$ 2> $radius$ }
  16.   texture {color red $red$ blue $blue$ green $green$ phong .7 phong_size 40}
  17. }
  18.  
  19. object { light_source { < 2 4 -3 > color White } }
  20.  
  21. object {
  22.    plane {<0 1 0> 0 }
  23.    texture {
  24.     checker
  25.      color Red
  26.      color Blue
  27.  
  28.      rotate <0 $floor$ 0>
  29.      translate <0 0 2>
  30.    }
  31.    no_shadow
  32. }
  33.